package java_thinking.unit_17.clone;

import lombok.Data;

/**
 * @Desc:
 * @author: cww
 * @DateTime: 2019-04-27 14:44
 */
@Data
public class StudentForDeep implements Cloneable{

    private String name;
    private int age;
    private StringBuffer sex;

    @Override
    public String toString() {
        return "Student [name=" + name + ", age=" + age + ", sex=" + sex + "]";
    }
    @Override
    protected StudentForDeep clone() throws CloneNotSupportedException {
        // TODO Auto-generated method stub
        return (StudentForDeep) super.clone();
    }
}
